<?php

namespace common\models;

class StockProductCase extends \yii\db\ActiveRecord
{

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'stock_product_case';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['tally_id'], 'integer'],
            [['product_case_name'], 'required'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'tally_id' => 'TallyId',
            'product_case_name' => 'ProductCaseName',
            'id'=>'ID'
        ];
    }

}
